package com.guidecaptain.java.service;

import java.util.List;

import com.guidecaptain.java.model.pojo.User;

public interface UserService {
	/**
	 * @param
	 * @return userId
	 */
	int insertUser(User user);

	int deleteUser(int userId);

	int updateUser(User user);

	User login(String username, String psw);
	
	User queryUser(int userId);
	
	User queryUser(String username);
	
	List<User> queryUserList();
}
